package com.cn.hnust.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cn.hnust.pojo.Friend;

public interface IFriendDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Friend record);

    int insertSelective(Friend record);

    Friend selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Friend record);

    int updateByPrimaryKey(Friend record);
    
    List<Friend> selectFriendByOpenid(String opend);
    
    List<Friend> selectFriendByOpenidFopenid(@Param("openid")String openid,@Param("fopenid")String fopenid);
} 